package com.wh.base.sys.user.controller.form;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import io.swagger.annotations.ApiOperation;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@ApiOperation(value = "重置密码表单类")
public class resetPwdForm {
	
	@NotNull(message = "id不能为空")
	@Schema(description = "ID")
	private Long id;
	
	@NotBlank(message = "密码不能为空")
	@Size(min=6, max=100, message = "密码不能小于6位字符,大于100个字符")
    @Schema(description = "密码")
    private String password;
	
	
}
